<?php
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.controller');

class FattureTooControllerMenu extends JController {

	function __construct()
	{
		parent::__construct();
	}

	/**
	* Method to display the view
	*
	* @access    public
	*/
	function display()
	{
		// View caching logic -- simple... are we logged in?
	//	$user = &JFactory::getUser();
		echo 'Controller menu <br>';

		// Quale view visualizzare?

		JRequest::setVar('view', 'menu');
	//	JRequest::setVar('layout', 'societa');
	//	if ($user->get('id')) {
			parent::display();  
	//	} else {
			// Non sono loggato come utente
	//		parent::display(true);  // Metto nella cache
	//	}
	}
}
?>